﻿<UserControl x:Class="IndexMarkSilverlightClient.Views.Controls.ReportsControls.CategoryCheckListBox"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
    mc:Ignorable="d" d:DesignHeight="40" d:DesignWidth="41">
    
    <Grid x:Name="LayoutRoot">
        <ListBox x:Name="CategoryLB" Background="Transparent" ItemsSource="{Binding}" ScrollViewer.VerticalScrollBarVisibility="Auto" ScrollViewer.HorizontalScrollBarVisibility="Auto" MaxHeight="400" BorderBrush="Transparent" BorderThickness="0">
            <ListBox.ItemTemplate>
                <DataTemplate>
                    <StackPanel Orientation="Horizontal" HorizontalAlignment="Left">
                        <CheckBox ClickMode="Release" IsChecked="{Binding Check, Mode=TwoWay}" Content="{Binding Name}"/>
                        
                    </StackPanel>
                </DataTemplate>
            </ListBox.ItemTemplate>
        </ListBox>    
    </Grid>
</UserControl>
